/**
 * Copyright UOB Ltd. All rights reserved. (2011)
 *
 * This software is the confidential and proprietary information
 * of United Overseas Bank Ltd. ("Confidential Information"). 
 * You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the contract
 * agreement you entered into with UOB.
 * 
 * File Name  : BaseThrowsAdvice.java
 * Created By : Adelwin Handoyo
 * Created At : Apr 14, 2011 5:57:15 PM
 *
 * Change History
 * Author Name     Date        Details
 * =============== =========== =================================
 * Adelwin Handoyo Apr 14, 2011 Initial Draft
 */
package com.uobgroup.cmt.base.advice;

import java.lang.reflect.Method;

import org.apache.log4j.Logger;
import org.springframework.aop.ThrowsAdvice;

import com.uobgroup.cmt.base.exception.BaseException;

public class BaseThrowsAdvice implements ThrowsAdvice {
	protected static Logger logger = Logger.getLogger(BaseThrowsAdvice.class);
	
	/**
	 * Minimum implementation.
	 * should be overriden to implement exception report collection
	 * @param method
	 * @param args
	 * @param target
	 * @param t
	 */
	public void afterThrowing(Method method, Object[] args, Object target, BaseException e) {
	}

}
